/* ***************************************************************************
 **    input.h
 **
 **  Project      : TODO -> Project Name
 **  Target       : TODO -> Provide MCU
 **  Description  :
 **
 **
 **  Compiler     : HI-TECH C  Version 9.80
 **  IDE          : MPLABX v1.80
 **  Created      : June 21, 2013
 **
 **  Master
 ** ***************************************************************************/

#ifndef _INPUT_H_
#define  _INPUT_H_

const unsigned char inputStrings[9][20]={
       "    Input Values   ",
       "    Enter Hour:    ",
       "    Enter Minutes: ",
       "    Seconds Set 00 ",
       "    Enter Year:    ",
       "    Enter_Month:   ",
       "    Enter Date:    ",
       "    Enter Day:     ",
       "   ***Time Set***  "
};

const char dow_str[8][3]= {
        {"  "},
	{"MO"},
	{"TU"},
	{"WE"},
	{"TH"},
	{"FR"},
	{"SA"},
	{"SU"}
};

const char month_str[13][4]= {
        {"   "},
	{"JAN"},
	{"FEB"},
	{"MAR"},
	{"APR"},
	{"MAY"},
	{"JUN"},
	{"JUL"},
	{"AUG"},
	{"SEP"},
	{"OCT"},
	{"NOV"},
	{"DEC"}
};


uint8_t currentButtonState[3];
uint8_t buttonDebounceCounter[3];


uint8_t GetNumber(uint8_t min, uint8_t max);
uint8_t GetMonth(void);
uint8_t GetDay(void);
void ReadButtonState(void);
void InputTime(void);
#endif //_INPUT_H_
